package zhongbo.javaweb.instagram.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 说明：
 *
 * @author zhongboWork
 * @version 1.0
 * @since 2021-12-21 11:37
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "代理配置", description = "rest 返回对象结构模型")
public class Proxy extends BaseModel {

    @ApiModelProperty(name = "代理名称", value = "代理名称")
    private String proxyName;
    @ApiModelProperty(name = "http代理则使用url地址", value = "url地址")
    private String url;
    @ApiModelProperty(name = "代理ip地址", value = "地址")
    private String ip;
    @ApiModelProperty(name = "代理端口", value = "端口")
    private int port;
    @ApiModelProperty(name = "代理密码", value = "密码")
    private String password;
    @ApiModelProperty(name = "代理加密方式", value = "加密方式")
    private String method;
    @ApiModelProperty(name = "是否启用该代理", value = "启用状态")
    private boolean enabled;
    @ApiModelProperty(name = "该代理最后一次登录是否成功", value = "可用状态")
    private boolean available;
    @ApiModelProperty(name = "该代理是否被封", value = "封停状态")
    private boolean baned;
    @ApiModelProperty(name = "该代理检测被封时间", value = "封停时间")
    private long banedTime;

}
